# 九九乘法表
for m in range(1,10): # 两个m？
    for m in range(1,m+1):
        print('{}x{}={}\t'.format(m,n,m*n),end='')
    print()


# 用户登录验证
user = "koupeng"
passwd = "123456"
for i in range(3):
    user_str = input ("Plz input your username:")
    user_pass = input ("Plz input your Password:")
    if user_str == user and user_pass == passwd:
        print ("loginsuccess")
        break
    else: 
        print ("Wrong user name or password! ")